import {hwTableDataType} from "@/api/home/type";


export type homeStoreType = {
    platformId: string | number,
    platformOptions: { label: string, value: number | string }[],
    loading:boolean,
    ysxResult: any,
    ysx: {
        hwTableData: hwTableDataType[],
        hwTableHeader: any[],
        callBackInfoItem: any[]
        otherTbale: {
            [key: string]: tableType,
            overTimeNotBjInfo: tableType,
            overTimeNotReplyInfo: tableType,
            backEventInfo: tableType,
            qcInfo: tableType,
            callBackInfo: tableType,
            hardwareInfo: tableType,
            systemInfo: tableType,
        },
    },
    sczt:{
        otherTbale:{
            [key: string]: tableType,
            hotEventRankInfo:tableType,
            bmyEventInfo:tableType
        }
    }
    scztResult: any,
    itemStyle1Data: itemStyle1TypeYsx[] | itemStyle1TypeSczt[],
    itemStyle2Data: any,
    itemStyle3Data: itemStyle3TypeYsx[] | itemStyle3TypeSczt[],
    itemStyle4Data: itemStyle4Type[]
    itemStyle6Data: itemStyle6Type,
    date: string
}


export interface itemStyle1TypeYsx  {
    areaName: string,
    daiban?: string | number,
    yiban?: string | number
}
export interface itemStyle1TypeSczt  {
    areaName: string,
    num?: string | number,
}


export type itemStyle3TypeYsx = {
    areaName: string,
    bjl: string,
    myl: string
}

export type itemStyle3TypeSczt = {
    month: string,
    num: string,
}

export type itemStyle4Type = {
    eventTypeName: string,
    num: string
}

export type itemStyle6Type = {
    [key: string]: string,
    inPlaceNum: string,
    managerNum: string,
    servMyd: string,
    totalNum: string,
}

// [inPlaceNum:string]: string,
//     [managerNum:string]: string,
//     [servMyd:string]: string,
//     [totalNum:string]: string,

export type tableType = {
    dataList: any[],
    headers: string[]
}
